<template>
  <div class="wd-radio-group">
    <slot></slot>
  </div>
</template>

<script>

export default {
  name: 'WdRadioGroup',
  provide () {
    return {
      // 祖先元素用provide传入的值可以再子孙元素用inject取到
      RadioGroup: this
    }
  },
  props: {
    value: null
  }
}
</script>
<style scoped>

</style>
